package com.si.anddos.tests;

import java.net.URL;

import com.si.anddos.library.main.factory.ServiceProviderFactory;
import com.si.anddos.library.provider.ServiceProvider;


/**
 * 
 * @author Carlos Martinez
 *
 */

public class Test {
	
	public static void main(String[] args) {

		try {
			
			URL url = new URL("http://rapidshare.com/files/37606052/Trevor_Rabin_-_Burn_Around_The_Moon__Goodbye_Independence_.mp3");
			
			ServiceProvider serviceProvider = ServiceProviderFactory.getProvider(url);
			
			serviceProvider.getFileInfo(url);
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
